package com.thx.appserver.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thx.appserver.dao.CappSplashImgDao;
import com.thx.appserver.model.CappSplashImg;
import com.thx.common.service.BaseManager;

@Service
@Transactional(readOnly = true)
public class CappSplashImgManager extends BaseManager<CappSplashImg>{

	@Autowired
	private CappSplashImgDao splashImgDao;

	public CappSplashImgDao getSplashImgDao() {
		return splashImgDao;
	}

	public void setSplashImgDao(CappSplashImgDao splashImgDao) {
		this.splashImgDao = splashImgDao;
	}

	public CappSplashImg getNewSplashImg(){
		return  splashImgDao.getNewSplashImg();
	}
}
